package com.exer2;

/**
 * @ClassName PaymentService
 * @Description TODO
 * @Author Kx
 * @Date 2025/4/16 20:21
 * @Version 1.0
 */
@Pay("paymentService")
public class PaymentService {
    @Inject("PaymentService")
    private Payment payment;

    public void pay(double money){
        payment.pay(money);
    }
}
